package com.zg.scf.service;

import com.zg.common.core.dao.scf.entity.ImgCategory;
import com.zg.common.core.dao.scf.entity.ImgCondition;
import com.zg.common.core.dao.scf.entity.ImgConditionScore;
import com.zg.common.core.service.IPageBaseService;
import com.zg.scf.domain.vo.ImgCategoryVo;
import com.zg.scf.domain.vo.ImgConditionVo;
import com.zg.scf.domain.vo.ImgConfigVo;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/22 10:47
 */

public interface ImgConditionService extends IPageBaseService<ImgCondition> {

    /**
     * 根据分类id删除
     *
     * @param ids
     */
    void removeByCategoryIds(List<Long> ids);

    /**
     * 根据分类id查询
     * @param id
     * @return
     */
    List<ImgCondition> listByCategoryId(Long id);

    /**
     *
     * @param imgConfig
     * @param pImgCategory
     * @param subImgCategory
     * @param value
     * @return
     */
    ImgConditionScore computeDic(ImgConfigVo imgConfig, ImgCategoryVo pImgCategory, ImgCategoryVo subImgCategory,String value);


    /**
     *
     * @param imgConfig
     * @param pImgCategory
     * @param subImgCategory
     * @param times
     * @return
     */
    ImgConditionScore computeTimes(ImgConfigVo imgConfig, ImgCategoryVo pImgCategory, ImgCategoryVo subImgCategory,Integer times);


}
